﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Data;

namespace Fjaspx.Sys.Bll
{
    public class Fjaspx_ArticleCategory
    {
        private Fjaspx.Sys.Dal.Fjaspx_ArticleCategory dal = new Fjaspx.Sys.Dal.Fjaspx_ArticleCategory();
        #region  成员方法

        /// <summary>
        /// 得到最大ID
        /// </summary>
        public int GetMaxId()
        {
            return dal.GetMaxId();
        }

        /// <summary>
        /// 是否存在该记录
        /// </summary>
        public bool Exists(int OrderId)
        {
            return Exists(OrderId);
        }


        /// <summary>
        /// 增加一条数据
        /// </summary>
        public int Add(Model.Fjaspx_ArticleCategory model)
        {
            return Add(model);

        }
        /// <summary>
        /// 更新一条数据
        /// </summary>
        public void Update(Model.Fjaspx_ArticleCategory model)
        {
            Update(model);
        }

        /// <summary>
        /// 删除一条数据
        /// </summary>
        public void Delete(int OrderId)
        {
            Delete(OrderId);
        }


        /// <summary>
        /// 得到一个对象实体
        /// </summary>
        public Model.Fjaspx_ArticleCategory GetModel(int OrderId)
        {
            return dal.GetModel(OrderId);
        }

        /// <summary>
        /// 获得数据列表
        /// </summary>
        public DataSet GetList(string strWhere)
        {
            return dal.GetList(strWhere);
        }
        /// <summary>
        /// 获得数据列表
        /// </summary>
        public DataSet GetList(string strWhere, int topNum)
        {
            return dal.GetList(strWhere, topNum);
        }

        #endregion  成员方法

    }
}
